<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>form表单</title>
</head>
<body>
    <!-- method：指定表单提交方式   action：指定表单提交地址 -->
    <form method="POST" action="http://localhost:3000">
        <input type="text" name="username">
        <input type="password" name="password">
        <input type="submit">
    </form>
    <!-- localhost会输出 POST GET  其中第二个GET为表单的默认跳转行为-->
</body>
</html>